
from django.conf.urls import url,include
from apps.wx_offical_account import views

urlpatterns = [
    url(r'^offical_list/(?P<type_name>\w+)/(?P<page>\d+)/',views.WXOfficlaShow.as_view(),name="offical_list"),
    url(r'^search/org/',views.SearchOrg.as_view(),name="search_org"),
    url(r'^online/add/org/',views.OnlineAddOrgView.as_view(),name="online_add_org"),
    url(r'^add/org/',views.AddOrgView.as_view(),name="add_org"),
    url(r'^delete/org/',views.DeleteOrgView.as_view(),name="delete_org"),
    url(r'^edit/org/(?P<id>\d+)/',views.EditOrgView.as_view(),name="edit_org"),
    url(r'^article/org/(?P<id>\w+)/(?P<page>\d+)',views.ArticleOrgView.as_view(),name="article_org"),
    url(r'^set/disabled/orgs/',views.setOrgsDisabledView.as_view(),name="set_disabled_orgs"),
    url(r'^set/availiable/orgs/',views.SetAvailiableView.as_view(),name="set_availiable_orgs"),
    url(r'^spider/org/',views.SpiderOrgView.as_view(),name="spider_org"),
]
